const should = require('should');
const name = require('../models/name');

suite('name-unit-tests', function () {
    test('name object', function (done) {
        var newitem = name('新项',"new's item");
        newitem.should.have.property('chinese').be.equal('新项');
        newitem.should.have.property('english').be.equal("new's item");
        newitem.should.have.property('route').be.equal("/new's-item");
        done();
    });
});